package com.regent.central.bill.web.common;

import com.regent.central.bill.repository.page.Pagination;
import com.regent.central.infrastructure.web.BasicResponse;

/**
 * 分页结果
 *
 * @author 钟宝林
 * @date 2018-06-17 21:53
 **/
public class PaginationResponse<E> extends BasicResponse {

    private Pagination<E> pagination;

    public PaginationResponse() {

    }

    public PaginationResponse(Pagination<E> pagination) {
        this.pagination = pagination;
    }

    public Pagination<E> getPagination() {
        return pagination;
    }

    public void setPagination(Pagination<E> pagination) {
        this.pagination = pagination;
    }
}
